package com.smart.village.big.screen.mapper;

import com.alibaba.fastjson.JSONObject;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SafeMapper {
    List<JSONObject> getPatrolTaskPlan(String type, String townNumber, String villageNumber);

    List<JSONObject> getExceptionTip(String source, String townNumber, String villageNumber);

    List<JSONObject> getPatrolManager(String townNumber, String villageNumber);

    List<JSONObject> getSafeCoordsList(String townNumber, String villageNumber);

    List<JSONObject> getSafeTagsList();

    List<JSONObject> getMonitorDeviceUsageTypeList();

    List<JSONObject> getDeviceCoords(String monitoringEquipmentSerialNumber,String usageTypeSerialNumber, String townNumber, String villageNumber);

    List<JSONObject> getSafeAssess(String townNumber, String villageNumber,int round);

    List<JSONObject> getSafeIndex(String townNumber, String villageNumber);

    JSONObject getPatrolTaskPlanByTaskSerialNumber(String taskSerialNumber);

    List<JSONObject> getPatrolResultCoordsByTaskPlanSerialNumber(String taskPlanSerialNumber);
}
